package com.aaa.book_mall.dao;

import com.aaa.book_mall.entity.OutDetail;

import java.util.List;
import java.util.Map;

/**
 * @Description: 申请详情表
 * @ClassName: OutDetailDao
 * @Author: fengyun
 * @Date: 2021/1/20 14:07
 * @Version: 1.0
 */
public interface OutDetailDao {
    /* *
     *  向出库详情表中添加数据
     * @param outDetail
     * @return int
     * @date 2021/1/20 14:08
     */
    int insertOutDetail(OutDetail outDetail);

    /* *
     *  根据outnumber查询详情表
     * @param outnumber
     * @return java.util.List<com.aaa.book_mall.entity.OutDetail>
     * @date 2021/1/20 21:43
     */
    List<OutDetail> queryLOD(String outnumber);

    /* *
     *  查看对应订单详情时使用
     * @param outnumber
     * @return java.util.List<java.util.Map>
     * @date 2021/1/21 15:29
     */
    List<Map<String, Object>> showInfoBOUT(String outnumber);

}
